home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / cbm / 4470 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: news.ac.net!pacifier!not-for-mail
  2. From: superman@pacifier.com (Jeremy Lindeman)
  3. Newsgroups: comp.sys.cbm
  4. Subject: Re: chrout problem
  5. Date: 24 Mar 1996 09:49:23 GMT
  6. Organization: Pacifier, public access Internet site. 360-693-0325
  7. Message-ID: <4j35r4$8in@news.pacifier.com>
  8. References: <4iqgnh$i6n@driene.student.utwente.nl>
  9. NNTP-Posting-Host: pacifier.com
  10. X-Newsreader: TIN [UNIX 1.3 950515BETA PL0]
  11.  
  12. Marco Lammers (beer@cal003109.student.utwente.nl) wrote:
  13. : I want to use kernal routine chrout $ffd2 on c64 to send characters to 
  14. : the rs232 interface ( device #2).
  15. : that works fine, but the computer also always sents the same character to
  16. : the screen. Is there ay way to send only to the rs232 interface?
  17.  
  18.  
  19. Being a Beginner Level Ml Programmer, maybe I can help?
  20.  
  21. Try changing the Chkout, (the output director.) like this
  22.  
  23. ldx #$xx  -(change xx to 02 to change output to modem)
  24. jsr $ffc9 (chkout-to change flow of output to modem.)
  25.  
  26. :  then add your routine after this.
  27.  
  28. Remember to return the above output back to screen when you need to.
  29. as this routine changes the output from the screen to your modem.
  30.  
  31. To change the output back to the screen, just type:
  32.  
  33. ldx #$xx    (screen-do not remember the screen #)
  34. jsr $ffc9   (chkout)
  35.  
  36.  
  37. and it will change back to the screen.
  38.  
  39. PS.  someone know the screen device #?
  40.  
  41. please post it.
  42.  
  43.  
  44.  
  45. -- 
  46. ----------------------------------   
  47. "smile, it does your body good.  ^
  48. superman@pacifier.com            ^
  49. ---------------------------------^
  50.  
  51.